package com.tender.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.tender.utils.CustomDateDeserializerUtil;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
public class VehicleInTimeTracesCondition {

    @Schema(description = "提单号")
    private String billNo;

    @Schema(description = "船舶航次id")
    private String shipVisitId;

    @Schema(description = "开始日期")
    @JsonDeserialize(using = CustomDateDeserializerUtil.class)
    private Date beginDate;

    @Schema(description = "结束日期")
    @JsonDeserialize(using = CustomDateDeserializerUtil.class)
    private Date endDate;

}
